package org.example.com.editor.util;

import org.example.com.editor.workspace.WorkspaceState;

import java.io.File;
import java.io.IOException;

// 序列化接口
public interface WorkspaceSerializer {
    void serialize(WorkspaceState memento, File stateFile) throws IOException;
    WorkspaceState deserialize(File stateFile) throws IOException;
}